package com.tiktok;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * TikTok应用程序启动类
 */
@SpringBootApplication
@MapperScan("com.tiktok.mapper")
@EnableTransactionManagement
public class TikTokApplication {

    public static void main(String[] args) {
        SpringApplication.run(TikTokApplication.class, args);
        System.out.println("=================================");
        System.out.println("简易版抖音后端服务启动成功！");
        System.out.println("访问地址：http://localhost:8080/api");
        System.out.println("=================================");
    }
} 